from google.appengine.ext import webapp

register = webapp.template.create_template_register()

def mult(value,othervalue):
    """ multiplies two numbers.  I can't believe this doesn't exist."""
    return value * othervalue
	
def divide(value,othervalue):
    """ multiplies two numbers.  I can't believe this doesn't exist."""
    return value / othervalue

def greater(value,othervalue):
	return value > othervalue
	
def less(value,othervalue):
	return value < othervalue

def greaterEqual(value,othervalue):
	return value >= othervalue
	
def lessEqual(value,othervalue):
	return value <= othervalue
	
register.filter(mult)
register.filter(divide)
register.filter(greater)
register.filter(less)
register.filter(greaterEqual)
register.filter(lessEqual)